package com.job.feign.webSocket;

import com.job.client.common.result.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "job-webSocket-service",path = "/api/v1/webSocket")
public interface WebSocketFeign {
    @PostMapping("/pushMessage")
    public ResponseResult pushMessage(@RequestParam String cid, @RequestBody String data);
}
